// 全部MV

module.exports = (query, request) => {
  // const data = {
  //   tags: JSON.stringify({
  //     地区: query.area || '全部',
  //     类型: query.type || '全部',
  //     排序: query.order || '上升最快',
  //   }),
  //   offset: query.offset || 0,
  //   total: 'true',
  //   limit: query.limit || 30,
  // }
  // return request('POST', `https://interface.music.163.com/api/mv/all`, data, {
  //   crypto: 'weapi',
  //   cookie: query.cookie,
  //   proxy: query.proxy,
  //   realIP: query.realIP,
  // })
  return new Promise(function(resolve, reject){
    resolve({
      status: 200, // The Http Response Code
      body: {
        "count": 1,
        "data": [
            {
                "id": 1,
                "cover": "https://llh-resources-1321535012.cos.ap-guangzhou.myqcloud.com/video/videoCover1.jpg",
                "name": "应用开发视频",
                "playCount": 325193,
                "briefDesc": null,
                "desc": null,
                "artistName": "yangweiping",
                "artistId": 1,
                "duration": 309000,
                "mark": 0,
                "subed": false,
                "artists": [
                    {
                        "id": 1,
                        "name": "yangweiping",
                        "alias": [],
                        "transNames": null
                    }
                ]
            },
          ],
          "code": 200,
      }, // API Response body
    cookie: []
    });
  })
}
